#define _CRT_SECURE_NO_WARNINGS 1
#include "Heap.h"

int main()
{
	HP heap;
	HPInit(&heap);
	HPPush(&heap, 4);
	HPPush(&heap, 7);
	HPPush(&heap, 2);
	HPPush(&heap, 9);
	HPPush(&heap, 3);
	HPPush(&heap, 5);
	printf("%d\n", HPTop(&heap));
	HPPop(&heap);
	HPPop(&heap);
	HPDestroy(&heap);
	return 0;
}